package cn.ilikes.tools.nosql.jpa.classloads;

import java.net.URL;

import cn.ilikes.tools.nosql.jpa.classloads.resources.DefaultsResources;
import cn.ilikes.tools.nosql.jpa.classloads.resources.IResources;

public abstract class URLPathLoadResources implements LoadResources {

	public enum ResourcesType {
		classes, noClasses
	}

	private IResources resources = new DefaultsResources(this);

	public void loadResource(URL url) {
		resources.load(url);
	}

	public abstract void loadedResources(String resourcesName, byte[] resources, ResourcesType resourcesType);

}